<?php include("includes/session.php"); ?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php echo $lang['PAGE_TITLE_PROJECTS']; ?></title>
<?php include('includes/categories.php'); ?>
<?php include("header.php"); ?>
	<?php if(isset($_SESSION['addlikesuccessful']))
	{
	?>
	<br />
	<center>
	<table cellpadding="0" cellspacing="0">
	<tr>
		<td class="topLeft"></td><td bgcolor="#dadada"></td><td class="topRight"></td>
	</tr>
	<tr bgcolor="#dadada">
	<td></td><td>
		<?php if($_SESSION['addlikesuccessful'])
		{
		?>
			<center><?php echo $lang['LIKE_PROJECT_SUCCESS']; ?></center>
		<?php
		}
		else
		{
		?>
			<center><?php echo $lang['LIKE_PROJECT_ALREADY']; ?></center>
		<?php
		}
		?>
	</td><td></td>
	</tr>
	<tr>
		<td class="bottomLeft"></td><td bgcolor="#dadada"></td><td class="bottomRight"></td>
	</tr>
	</table>
	</center>
	<?php
		unset($_SESSION['addlikesuccessful']);
	}
	?>
	<center>
	<table cellpadding="0" cellspacing="0" width="93%">
	<tr>
		<td align="left">
			<br /><br />
			<center>
			<table cellpadding="10" cellspacing="0" width="100%" class="border">
			<tr><td class="title" align="left"><?php echo $lang['PROJECTS_BROWSE_PROJECTS']; ?></td></tr>
			<tr>
				<td align="left">
					<?php displayAllProjects(); ?>
				</td>
			</tr>
			</table>
			</center>
		</td>
	</tr>
	</table>
	</center>
<?php include("footer.php"); ?>